package com.usian.pojo.function;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

@TableName("function")
public class Function implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "fid",type = IdType.AUTO)
    private Integer fid;

    @TableField("fname")
    private String fname;

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public Function() {
    }

    public Function(Integer fid, String fname) {
        this.fid = fid;
        this.fname = fname;
    }
}
